package com.alphaking.model;
// default package

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * ProductCategory entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "category")
public class Category implements java.io.Serializable {

	// Fields

	private String productCategoryId;
	private String productCategoryName;
	private String parentCategoryId;
	private Integer isHidden;
	private Integer isUnknow ;
	private Integer isDeleted;

	// Constructors

	/** default constructor */
	public Category() {
	}

	/** full constructor */
	public Category(String productCategoryName, String parentCategoryId,
		  Integer isHidden,
			Integer isDeleted) {
		this.productCategoryName = productCategoryName;
		this.parentCategoryId = parentCategoryId;
		this.isHidden = isHidden;
		this.isDeleted = isDeleted;
	}

	// Property accessors
	@Id
	@Column(name = "product_category_id", unique = true, nullable = false)
	public String getProductCategoryId() {
		return this.productCategoryId;
	}

	public void setProductCategoryId(String productCategoryId) {
		this.productCategoryId = productCategoryId;
	}

	@Column(name = "product_category_name", length = 128)
	public String getProductCategoryName() {
		return this.productCategoryName;
	}

	public void setProductCategoryName(String productCategoryName) {
		this.productCategoryName = productCategoryName;
	}

	@Column(name = "parent_category_id")
	public String getParentCategoryId() {
		return this.parentCategoryId;
	}

	public void setParentCategoryId(String parentCategoryId) {
		this.parentCategoryId = parentCategoryId;
	}


	@Column(name = "is_hidden")
	public Integer getIsHidden() {
		return this.isHidden;
	}

	public void setIsHidden(Integer isHidden) {
		this.isHidden = isHidden;
	}

	@Column(name = "is_deleted")
	public Integer getIsDeleted() {
		return this.isDeleted;
	}

	public void setIsDeleted(Integer isDeleted) {
		this.isDeleted = isDeleted;
	}

	@Column(name = "is_unknow")
	public Integer getIsUnknow() {
		return isUnknow;
	}

	public void setIsUnknow(Integer isUnknow) {
		this.isUnknow = isUnknow;
	}
	
	

}